﻿Ext.regController('formController', {

/*********************** COMPOSE VIEW ***************************/
	// post msg
	'postMsg': function (options) {
		//alert(options.scope);
		//alert("in form controller");
		alert(options.msg);
	
		//FlyTalk.views.mainView.setActiveItem(FlyTalk.views.TalkView, {type: 'slide', direction: 'right'});
    },
	

});

FlyTalk.controllers.formController = Ext.ControllerManager.get('formController');